#pragma once
#include "afxwin.h"
#include "afxcmn.h"
#include "poke_framework.h"
#include "poke_dialog_helper.h"
#include "ui/poke_hotkey_list_ctrl.h"

// CPokeDlgHotkey dialog

class CPokeDlgHotkey : public CDialog, public M::Atom
{
	DECLARE_DYNAMIC(CPokeDlgHotkey)

public:
	CPokeDlgHotkey(CWnd* pParent = NULL);   // standard constructor
	virtual ~CPokeDlgHotkey();

// Dialog Data
	enum { IDD = IDD_DIALOG_HOTKEY };

protected:
    DISABLE_DIALOG_DEFAULT_ACTION;
    virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    virtual M::String name() const { return PAN_DLG_WINDOW_INFO; }
    virtual bool OnEvent(const M::AtomEndPoint &oSrcAtom, int nEventId, void *pParams);

	DECLARE_MESSAGE_MAP()

protected:
    CString FormatHotkey(int nModifier, int nKey);

private:
    CPokeHotkeyListCtrl m_oListHotkeys;
};
